<!DOCTYPE html>
<html lang="zh">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>注册页面</title>
    <link rel="stylesheet" type="text/css" href="../css/register.css" />
    <script src="../js/register_login.js"></script>
    <script src="../js/jquery3.6.3.js"></script>
    <script src="../js/main.js"></script>
    <link rel="icon" href="../img/favicon.png">
  </head>
  <body>
    <div class="card">
      <div class="card-header">
        <div class="text-header">Register</div>
      </div>
      <div class="card-body">
        <form action="#" id="registerForm" method="get">
          <div class="form-group">
            <label for="username">手机号码:</label>
            <input
              required=""
              class="form-control"
              name="phoneNumber"
              id="username"
              type="text"
            />
          </div>
          <div class="form-group">
            <label for="email">邮箱:</label>
            <input
              required=""
              class="form-control"
              name="userEmail"
              id="email"
              type="email"
            />
          </div>
          <div class="form-group">
            <label for="password">密码:</label>
            <input
              required=""
              class="form-control"
              name="userPassword"
              id="password"
              type="password"
            />
          </div>
          <div class="form-group">
            <label for="confirm-password">确认密码:</label>
            <input
              required=""
              class="form-control"
              name="userPasswordAgain"
              id="confirm-password"
              type="password"
            />
          </div>
          <input
            type="button"
            class="btn"
            value="注册"
            onclick="checkPwd(userPassword,userPasswordAgain,phoneNumber,userEmail)"
          />
          <input
            type="button"
            class="btn"
            value="返回"
            onclick="returnLoginPage()"
          />
        </form>
      </div>
    </div>
  </body>
</html>
